package com.hr.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.ArrayList;
import java.util.List;

/**
 * 部门
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Department
{
    @Id
    private int id;
    private String name;
    private String intro;

    private List<Archive> archives=new ArrayList<>();
}
